<!DOCTYPE html [
    <!ENTITY nbsp "&#160;">
    <!ENTITY bull "&#8226;">
    <!ENTITY copy "&#169;">
]>
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui">
	<style>
	body {font-family:\5B8B\4F53,Arial Narrow,arial,serif;background:#ffffff;font-size:14px;}
	body,div,dl,dt,dd,ul,ol,li,pre,form,fieldset,input,textarea,blockquote,emBED{padding:0; margin:0;}
	</style>
<h:head>
<title>消息</title>
</h:head>
<h:body>
		<h:panelGrid columns="2" columnClasses="logo,detail">
          		 <p:outputPanel rendered="#{lookMessageController.type.equals('AlarmMessage')}">
	          	  <img width="50px" height="50px" src="/resources/img/message/warn_message.png" /> 
	            </p:outputPanel>
	          	<p:outputPanel rendered="#{lookMessageController.type.equals('UserMessage')}">
	          	  <img width="50px" height="40px" src="/resources/img/message/user_message.png" /> 
	            </p:outputPanel>
            <p:outputPanel>
                <p:panelGrid columns="2" cellpadding="5">
                    <h:outputText value="接受时间：" />
                    <h:outputText value="#{lookMessageController.message.createTime.toString().substring(0,19)}" style="font-weight: bold"/>
 
                    <h:outputText value="发送者：" />
                    <h:outputText value="#{lookMessageController.message.source}" style="font-weight: bold"/>
                    <h:outputText style="valign:top" value="消息内容：" />
                    <p:inputTextarea readonly="true"  value="#{lookMessageController.message.content}" style="border:none;font-weight: bold"/>
                </p:panelGrid>
            </p:outputPanel>
        </h:panelGrid>
</h:body>
</html>
